package org.zpmis.domain.user.vo;

import lombok.Data;
import org.zpmis.domain.user.model.SysUser;

@Data
public class AllSysUserVo {

    private Long id;

    /**
     * 用户名
     */
    private String userName;

    public AllSysUserVo(SysUser sysUser) {
        this.id = sysUser.getId();
        this.userName = sysUser.getUserName();
    }

    public AllSysUserVo(Long id, String userName) {
        this.id = id;
        this.userName = userName;
    }
}